package com.vo;

public class ExaInfo {
	private String exano = "123";
	private int pageOffset = 0;
	private int pageLength = 10;
	private int pageCount = 0;
	private int count = 0;
	private String wordtext = "";
	private String fileName = "";
	private String fileKey = "";

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileKey() {
		return fileKey;
	}

	public void setFileKey(String fileKey) {
		this.fileKey = fileKey;
	}

	public String getWordtext() {
		return wordtext;
	}

	public void setWordtext(String wordtext) {
		this.wordtext = wordtext;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getPageOffset() {
		if (pageOffset < 0) {
			pageOffset = 0;
		}
		if (pageOffset > pageCount) {
			pageOffset = pageCount;
		}
		return pageOffset;
	}

	public void setPageOffset(int pageOffset) {
		this.pageOffset = pageOffset;
	}

	public int getPageLength() {
		return pageLength;
	}

	public void setPageLength(int pageLength) {
		this.pageLength = pageLength;
	}

	public String getExano() {
		return exano;
	}

	public void setExano(String exano) {
		this.exano = exano;
	}
}
